Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 2 - Movie Controller Components / Movie Controller Components Reference
Movie Controller Functions / Getting and Setting Movie Controller Time


MCGetCurrentTime

Your application can use the MCGetCurrentTime function to obtain the time value represented by the indicator on the movie controller's slider. This time value is appropriate to the movie currently being affected by the movie controller. You can also obtain the time scale for this time value.

pascal TimeValue MCGetCurrentTime (MovieController mc, 
                                     TimeScale *scale);
mc
Specifies the movie controller for the operation. You obtain this
identifier from the Component Manager's OpenComponent or OpenDefaultComponent function, or from the NewMovieController function (described on page 2-28).
scale
Contains a pointer to a field that is to receive the time scale for the controller.
DESCRIPTION
The MCGetCurrentTime function returns the time value that corresponds to the current setting of the indicator on the movie controller's slider.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help